<template>
  <div id="container">
    <Header />
    <div class="main">
      <Label />
      <Class />
    </div>
    <Footer />
  </div>
</template>

<script>
import Header from "@/components/header.vue";
import Label from "@/components/fenlei/label.vue";
import Class from "@/components/fenlei/class.vue";
import Footer from "@/components/footer.vue";
export default {
  // 连接组件
  components: {
    Header,
    Label,
    Class,
    Footer
  },
  // 请求数据
  created() {
    this.$store.dispatch("getFenlei", { url: "/data/fenlei" });
  },
};
</script>

<style scoped>
.main {
  flex: 1;
  overflow: auto;
}
</style>
